css: Change prototype of _gtk_css_selector_matches()
authorBenjamin Otte <otte@redhat.com>
Thu, 29 Dec 2011 13:26:45 +0000 (14:26 +0100)
committerBenjamin Otte <otte@redhat.com>
Mon, 9 Jan 2012 17:37:50 +0000 (18:37 +0100)
commita6ac53e2a9e121ef670509e1b39892710d774f7a
tree403e4fcf02fe8c221c007eccaf47aeb4396454bf
parenta3225fdd423f8e75500d25b3c8bf41f6edccdfa2
css: Change prototype of _gtk_css_selector_matches()

Passing the length of the widget path that is relevant is not necessary
anymore, it was only useful for inheritance. Instead, we now pass the
state flags and let the selector do the state matching for us.
gtk/gtkcssprovider.c
gtk/gtkcssselector.c
gtk/gtkcssselectorprivate.h